import mediator.Zh0202ATCMediator;
import mediator.Zh0202Mediator;
import mumber.Zh0202Flight;
import mumber.Zh0202_101Flight;
import mumber.Zh0202_202Flight;

/**
 * @author: zh
 * @date: 2021/11/18 11:30
 * @version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        Zh0202Mediator mediator = new Zh0202ATCMediator();
        Zh0202Flight flight_101,flight_202;
        flight_101 = new Zh0202_101Flight(mediator);
        flight_202 = new Zh0202_202Flight(mediator);
        mediator.addFlight(flight_101);
        flight_101.requestLanding("t1");
        flight_202.requestLanding("t1");
    }
}
